using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._ParcelTools._Administration
{
    /// <summary>
    /// <para>Disable Parcel Topology</para>
    /// <para>Disables geodatabase topology on a parcel fabric.  System-defined  topology rules and parcel fabric feature classes will be removed from the topology.</para>
    /// <para>禁用宗地结构上的地理数据库拓扑。 系统定义的拓扑规则和宗地结构要素类将从拓扑中移除。</para>
    /// </summary>    
    [DisplayName("Disable Parcel Topology")]
    public class DisableParcelTopology : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DisableParcelTopology()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_parcel_fabric">
        /// <para>Input Parcel Fabric</para>
        /// <para>The parcel fabric for which the topology will be disabled. The input parcel fabric can be from a file geodatabase or an enterprise geodatabase.</para>
        /// <para>将禁用拓扑的宗地结构。输入宗地结构可以来自文件地理数据库或企业级地理数据库。</para>
        /// </param>
        public DisableParcelTopology(object _in_parcel_fabric)
        {
            this._in_parcel_fabric = _in_parcel_fabric;
        }
        public override string ToolboxName => "Parcel Tools";

        public override string ToolName => "Disable Parcel Topology";

        public override string CallName => "parcel.DisableParcelTopology";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_parcel_fabric, _updated_parcel_fabric];

        /// <summary>
        /// <para>Input Parcel Fabric</para>
        /// <para>The parcel fabric for which the topology will be disabled. The input parcel fabric can be from a file geodatabase or an enterprise geodatabase.</para>
        /// <para>将禁用拓扑的宗地结构。输入宗地结构可以来自文件地理数据库或企业级地理数据库。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_parcel_fabric { get; set; }


        /// <summary>
        /// <para>Updated Parcel Fabric</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_parcel_fabric { get; set; }


        public DisableParcelTopology SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}